Optimal. Leaf size=84 \[ -\frac {\tanh ^{-1}\left (\frac {\sqrt {a} \cosh (e+f x)}{\sqrt {a-b+b \cosh ^2(e+f x)}}\right )}{a^{3/2} f}-\frac {b \cosh (e+f x)}{a (a-b) f \sqrt {a-b+b \cosh ^2(e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 84, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {3265, 390, 385,
212} \begin {gather*} -\frac {\tanh ^{-1}\left (\frac {\sqrt {a} \cosh (e+f x)}{\sqrt {a+b \cosh ^2(e+f x)-b}}\right )}{a^{3/2} f}-\frac {b \cosh (e+f x)}{a f (a-b) \sqrt {a+b \cosh ^2(e+f x)-b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 385
Rule 390
Rule 3265
Rubi steps
\begin {align*} \int \frac {\text {csch}(e+f x)}{\left (a+b \sinh ^2(e+f x)\right )^{3/2}} \, dx &=-\frac {\text {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \left (a-b+b x^2\right )^{3/2}} \, dx,x,\cosh (e+f x)\right )}{f}\\ &=-\frac {b \cosh (e+f x)}{a (a-b) f \sqrt {a-b+b \cosh ^2(e+f x)}}-\frac {\text {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \sqrt {a-b+b x^2}} \, dx,x,\cosh (e+f x)\right )}{a f}\\ &=-\frac {b \cosh (e+f x)}{a (a-b) f \sqrt {a-b+b \cosh ^2(e+f x)}}-\frac {\text {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {\cosh (e+f x)}{\sqrt {a-b+b \cosh ^2(e+f x)}}\right )}{a f}\\ &=-\frac {\tanh ^{-1}\left (\frac {\sqrt {a} \cosh (e+f x)}{\sqrt {a-b+b \cosh ^2(e+f x)}}\right )}{a^{3/2} f}-\frac {b \cosh (e+f x)}{a (a-b) f \sqrt {a-b+b \cosh ^2(e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.27, size = 98, normalized size = 1.17 \begin {gather*} \frac {-\tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \cosh (e+f x)}{\sqrt {2 a-b+b \cosh (2 (e+f x))}}\right )-\frac {\sqrt {2} \sqrt {a} b \cosh (e+f x)}{(a-b) \sqrt {2 a-b+b \cosh (2 (e+f x))}}}{a^{3/2} f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(153\) vs.
\(2(76)=152\).
time = 1.23, size = 154, normalized size = 1.83
method | result | size |
default | \(\frac {\sqrt {\left (a +b \left (\sinh ^{2}\left (f x +e \right )\right )\right ) \left (\cosh ^{2}\left (f x +e \right )\right )}\, \left (-\frac {b \left (\cosh ^{2}\left (f x +e \right )\right )}{a \left (a -b \right ) \sqrt {\left (a +b \left (\sinh ^{2}\left (f x +e \right )\right )\right ) \left (\cosh ^{2}\left (f x +e \right )\right )}}-\frac {\ln \left (\frac {2 a +\left (a +b \right ) \left (\sinh ^{2}\left (f x +e \right )\right )+2 \sqrt {a}\, \sqrt {\left (a +b \left (\sinh ^{2}\left (f x +e \right )\right )\right ) \left (\cosh ^{2}\left (f x +e \right )\right )}}{\sinh \left (f x +e \right )^{2}}\right )}{2 a^{\frac {3}{2}}}\right )}{\cosh \left (f x +e \right ) \sqrt {a +b \left (\sinh ^{2}\left (f x +e \right )\right )}\, f}\) | \(154\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 769 vs.
\(2 (76) = 152\).
time = 0.48, size = 1641, normalized size = 19.54 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {csch}{\left (e + f x \right )}}{\left (a + b \sinh ^{2}{\left (e + f x \right )}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 198 vs.
\(2 (76) = 152\).
time = 0.57, size = 198, normalized size = 2.36 \begin {gather*} -\frac {{\left (\frac {\frac {a^{2} b e^{\left (2 \, f x + 4 \, e\right )}}{a^{4} e^{\left (6 \, e\right )} - a^{3} b e^{\left (6 \, e\right )}} + \frac {a^{2} b e^{\left (2 \, e\right )}}{a^{4} e^{\left (6 \, e\right )} - a^{3} b e^{\left (6 \, e\right )}}}{\sqrt {b e^{\left (4 \, f x + 4 \, e\right )} + 4 \, a e^{\left (2 \, f x + 2 \, e\right )} - 2 \, b e^{\left (2 \, f x + 2 \, e\right )} + b}} - \frac {2 \, \arctan \left (-\frac {\sqrt {b} e^{\left (2 \, f x + 2 \, e\right )} - \sqrt {b e^{\left (4 \, f x + 4 \, e\right )} + 4 \, a e^{\left (2 \, f x + 2 \, e\right )} - 2 \, b e^{\left (2 \, f x + 2 \, e\right )} + b} - \sqrt {b}}{2 \, \sqrt {-a}}\right ) e^{\left (-4 \, e\right )}}{\sqrt {-a} a}\right )} e^{\left (4 \, e\right )}}{f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{\mathrm {sinh}\left (e+f\,x\right )\,{\left (b\,{\mathrm {sinh}\left (e+f\,x\right )}^2+a\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________